<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Hello World!</title>
    <script type="text/javascript" src="../assets/js/vue.js"></script>
</head>
<body>
    <h1>Hello World!</h1>
    <hr>
    <div id="app">
        {{message}}
        <span v-text="message" ></span>
        <span v-html="dodo" ></span>
    </div>

    <script type="text/javascript">
        var app=new Vue({
            el:"#app",
            data:{
                message:'Hello World! 112',
                dodo:'<h2> 带标签的对象 </h2>'
            }
        })
    </script>
</body>
</html>